<%@ page language="java" contentType="text/html; charset=utf-8"
         pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8" />
    <title>注册</title>
    <link rel="stylesheet" href="assets/libs/particles/css/style.css">
    <link rel="stylesheet"
          href="assets/libs/sweetalert2/sweetalert2.min.css">
    <link rel="stylesheet" href="assets/css/base.css">
    <link rel="stylesheet" href="assets/css/login.css">
    <link rel="stylesheet" type="text/css" href="css/bootstrap.css" />
    <link rel="stylesheet" type="text/css" href="css/style.css" />

</head>
<body>
<!-- particles.js container -->
<div id="wrapper">
    <div>
        <img src="assets/img/head.png" />
        <h2>书山有路勤为径 学海无涯苦作舟</h2>
    </div>
    <nav class="switch_nav">
        <a href="javascript:;" id="switch_login" class="switch_btn">登陆</a>
        <a href="register.jsp" id="switch_signup" class="switch_btn">注册</a>

        <div class="switch_bottom" id="switch_bottom"></div>
    </nav>
</div>

<form class="form-horizontal" method="post" action="${pageContext.request.contextPath}/login" id="myform">
    <input type="hidden" name="method" value="login"/>
    <div class="form-group" style="padding: 0 0 0 37%;">
        <label for="inpUserName" style="width: 100px"
               class="col-sm-2 control-label">用户名：</label>
        <div class="col-sm-3 ">
            <input name="username" type="text" class="form-control" placeholder="请输入用户名">
        </div>
    </div>
    <div class="form-group" style="padding: 0 0 0 37%;">
        <label for="inpPWD" style="width: 100px"
               class="col-sm-2 control-label">密码：</label>
        <div class="col-sm-3">
            <input name="password" type="password" class="form-control required" placeholder="请输入密码">
        </div>
        <div class="col-sm-4"></div>
    </div>
    <div class="form-group" style="text-align: center">
        <button type="submit" class="btn btn-default" id="login">登陆</button>
    </div>
</form>
<div class="container">
</div>

</body>
</html>
